package com.bank.svc;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bank.dao.BankUserDao;
import com.bank.pojo.BankUserinfo;

@Service("bankUserSvc")
public class BankUserSvc {
	@Resource(name="bankUserDao")
	private BankUserDao bud;

	public boolean addUser(BankUserinfo user){
		return bud.addUser(user);
	}
	
	public void setBud(BankUserDao bud) {
		this.bud = bud;
	}
}
